package c.j.a.d.a.p;

import android.content.DialogInterface;
import android.content.DialogInterface.OnCancelListener;
import android.content.Intent;
import c.j.a.d.a.g;
import com.ss.android.socialbase.appdownloader.view.JumpUnknownSourceActivity;

/* compiled from: JumpUnknownSourceActivity */
public class d implements OnCancelListener {
    public final /* synthetic */ JumpUnknownSourceActivity a;

    public d(JumpUnknownSourceActivity jumpUnknownSourceActivity) {
        this.a = jumpUnknownSourceActivity;
    }

    public void onCancel(DialogInterface dialogInterface) {
        JumpUnknownSourceActivity jumpUnknownSourceActivity = this.a;
        Intent intent = jumpUnknownSourceActivity.c;
        if (intent != null) {
            g.g(jumpUnknownSourceActivity, intent, true);
        }
        this.a.finish();
    }
}
